<?php

use app\controller\BookListController;

//$data = $argv[1];
//$data = json_decode($data, true);
//$controller = new BookListController();
//$res = $controller->startImport($data);
//if ($res == 0) {
//    $controller->checkCompany($data['taskId']);
//    $controller->checkISBN($data['taskId']);
//    $controller->writeBook($data['taskId']);
//    $controller->writeBookFitReader($data['taskId']);
//    $controller->writeBookCategory($data['taskId']);
//    $controller->writeBookListDetail($data);
//} else {
//
//}